CHINO SE2000 Communication Driver

 

CHINO SE2000 Communication Driver is the driver to communicate with arthmetic type scanner controller of CHINO Co., Ltd. in Japan.

 

1. Read settings

 

<Figure 1> is read setting example of CHINO SE2000 communication driver.

<Figure 1>  Read setting example of CHINO SE2000 communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(2), Data Bit(7), Stop Bit(1) respectively.

CHINO SE2000 controller can set baud rate  9600(default), 19200bps.

Also SE2000 controller support RS-422A (4 line type, RDA(R+), RDB(R-), SDA(T+), SDB(T-) ) and RS-485 ( 2 line type, SA ( + ), SB ( - ) ) communication mode.

 

CHINO SE2000 communication driver¨s read schedule 

Read schedule setting parameters are as follows:

1) STATION – Controller ID : 0~31.

2) Read command – Command( Refer to <Table 1>).

PV01 : Read of Channel Data,

 PV02 : Read of Alarm Status,

SV02, SV20, SV21, SV22, SV23, SV25, SV30, SV51, SV53, SV54, SV55, SV56 : Read of Parameter,

3) Read Start Address Reading channel number. 1 ~ 30 : channel number, 31 ~ 60 : calculated data.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – Reading channel number. ( Max. 20 ~ 30 )

 

Read schedule example) 

 FLOAT,    0,   PV01,     1,    0,   20,

FLOAT,    0,   PV01,    31,   60,   20,

READ,     0,   PV02,     1,    0,   30,

READ,     0,   PV02,    31,   60,   30,

 

<Table 1> is read/write command and contents of CHINO SE2000 communication driver.

<Table 2> ~ <Table 14> is store values and contents of PV01, PV02, SV02, SV20, SV21, SV22/SV23, SV25, SV30, SV50, SV53, SV54, SV55, SV56 read command

Read/Write command

Contents

Read/Write

PV01

Read of Channel Data

Read only

PV02

Read of Alarm Status

SV02

Setting value of alarm

Read/Write

SV20

Input type

SV21

Selection of RJ use/don't use

SV22

Range High/Low

SV23

Scale High/Low

SV25

Unit

SV30

Alarm type

SV51

tag

SV53

Relay of alarm output

SV54

Wiring of alarm output

SV55

Pre alarm basis CH

SV56

Sample number of the rate of change alarm

<Table 1> Read/write command and contents of CHINO SE2000 communication driver
Store values Contents Remarks
Start Addr + 0 Data type of 1st readed channel 0 : real channel data,
1 : calculated data
Start Addr + 1 Data status of 1st readed channel 0 : Normal Data,
1 : + Over Range, + Scale Over,
2 : - Over Range, - Scale Over,
3 : cutoff,
8 : Point of contact data,
9 : Invalid (undefined range)
Start Addr + 2 Data of 1st readed channe max. 7digit, included 3 decimal point
Start Addr + 3 ~ 5  2nd readed channel data  
Start Addr + 6 ~  
<Table 2> Store values and contents PV01(Channel Data) read command
Store values Contents Remarks
Start Addr + 0 Level 1 alarm status of 1st readed channel 00 = normal,
01 = high alarm,
02 = low alarm,
03 = the rate of change high alarm,
04 = the rate of change low alarm,
05 = pre high alarm,
06 = pre low alarm.
Start Addr + 1 Level 2 alarm status of 1st readed channel
Start Addr + 2 ~ 3 Level 1 ~ 2 alarm status of 2nd readed channel  
Start Addr + 4 ~  
<Table 3> Store values and contents PV02(Alarm Status) read command
Store values Contents Remarks
Start Addr + 0 Level 1 alarm setting of 1st readed channel max. 7digit, included decimal point
Start Addr + 1 Level 2 alarm setting of 1st readed channel
Start Addr + 2 ~ 3 Level 1 ~ 2 alarm setting of 2nd readed channel
Start Addr + 4 ~
<Table 4> Store values and contents SV02 (Alarm Setting) read command
Store values Contents Remarks
Start Addr + 0 Input type number of 1st readed channel 2 digit number
0 : don't use
Start Addr + 1 Input type number of 2nd readed channel
Start Addr + 2 ~
<Table 5> Store values and contents SV20 (Input Type) read command
Store values Contents Remarks
Start Addr + 0 RJ use/don't use of 1st readed channel 1 digit number, when thermocouple input  
0 : use external compensation circuit,  
1 : use internal compensation circuit,  when pulse input  
2 : normal totalizer mode,
3 : time ( second ) totalizer mode,
4 : time ( minute ) totalizer mode,
5 : time ( hour ) totalizer mode.
Start Addr + 1 RJ use/don't use of 2nd readed channel
Start Addr + 2 ~
<Table 6> Store values and contents SV21 (RJ use/don't use) read command

Store values

Contents

Remarks

Start Addr + 0

Low value of 1st readed data channel

max. 7digit

Start Addr + 1

High value of 1st readed data channel

Start Addr + 2 ~ 3

Low/High value of 2nd readed data channel 

Start Addr + 4 ~

<Table 7> Store values and contents SV22, SV23 (Range, Scale HighLlow) read command

Store values

Contents

Remarks

Start Addr + 0

Unit of 1st readed channel

save at STRING memory.

max. 8 character string.

Start Addr + 1

Unit of 2nd readed channel

Start Addr + 2 ~

<Table 8> Store values and contents SV25(Unit) read command
Store values Contents

Remarks

Start Addr + 0 Level 1 alarm mode of 1st readed channel

0 : don't use,

1 : low alarm,

2 : high alarm,

3 = the rate of change high alarm,

4 = the rate of change low alarm,

5 = pre high alarm,

6 = pre low alarm.

Start Addr + 1 Level 2 alarm mode of 1st readed channel
Start Addr + 2 ~ 3 Level 1/Level 2 alarm mode of 2nd readed channel
Start Addr + 4 ~
<Table 9> Store values and contents SV30 (Alarm Mode) read command
Store values Contents

Remarks

Start Addr + 0 Tag of 1st readed channel

save at STRING memory.

max. 8 character string.

Start Addr + 1 Tag of 2nd readed channel
Start Addr + 2 ~
<Table 10> Store values and contents SV51 (Tag) read command
Store values Contents

Remarks

Start Addr + 0 Level 1 alarm output relay of 1st readed channel

3 digit

 

0 : don't use,

201 ~ 260 : alarm output relay of AU7.

Start Addr + 1 Level 2 alarm output relay of 1st readed channel
Start Addr + 2 ~ 3 Level 1/Level 2 alarm output relay of 2nd readed channel
Start Addr + 4 ~
<Table 11> Store values and contents SV53 (Alarm Output Relay) read command
Store values Contents

Remarks

Start Addr + 0 Level 1 alarm output wiring of 1st readed channel

1 digit

 

0 : OR,

1 : AND.

Start Addr + 1 Level 2 alarm output wiring of 1st readed channel
Start Addr + 2 ~ 3 Level 1/Level 2 alarm output wiring of 2nd readed channel
Start Addr + 4 ~
<Table 12> Store values and contents SV54 (Alarm Output Wiring) read command
Store values Contents

Remarks

Start Addr + 0 Level 1 pre alarm basis of 1st readed channel

2 digit

 

range : 1 ~ 60

Start Addr + 1 Level 2 pre alarm basis of 1st readed channel
Start Addr + 2 ~ 3 Level 1/Level 2 pre alarm basis of 2nd readed channel
Start Addr + 4 ~
<Table 13> Store values and contents SV55 (Pre Alarm Basis) read command
Store values Contents

Remarks

Start Addr + 0 Level 1 sample number of the rate of change alarm of 1st readed channel

22 digit

 

range : 1 ~ 20

Start Addr + 1 Level 2 sample number of the rate of change alarm of 1st readed channel
Start Addr + 2 ~ 3 Level 1/Level 2 sample number of the rate of change alarm of 2nd readed channel
Start Addr + 4 ~
<Table 14> Store values and contents SV56 (Sample number of the rate of change alarm) read command

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of CHINO SE2000 communication driver¨s Option dialogue box

You can set read schedule by using , , button and listbox of <Figure 2>. 

<Figure 3> Example of CHINO SE2000 communication driver¨s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can set CHINO SE2000 controller by using write settings.

 

Bit Write

Bit write and word write have the same setting parameters except output value.

  

Word Write

Word write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Controller ID : 0~31.

3)  ADDRESS           writing channel number. 1 ~ 30 : channel number, 31 ~ 60 : calculated data.

4)  Extra1                   Write command( parameter write ) = SV02, SV20, SV21, SV22, SV23, SV25, SV30, SV50, SV53, SV54, SV55, SV56. ( Refer to <Table 1> )

Note) SV25 ( Setting of Unit ), SV51 ( Setting of Tag ) write command input output value to 'Extra1' argument.

Example 1) SV25=V

Example 2) SV25=Cm

Example 3) SV51=Tag1

Example 4) SV51=Tag2 

5)  Extra2                   Selection of Level1, Level2 output.

 SV02, SV22, SV23, SV30, SV53, SV54, SV55, SV56 : 0 – Level1 or low value output,   1 – Level2 or high value output.

 Other command : don't care.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV02  EXTRA2 : 0

The setting parameter shown above is an example of write for Level 1 alarm setting( max. 7 digit number : -999999 ~ 9999999 ) of channel number 1.

 

Write example 2)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV02  EXTRA2 : 1

The setting parameter shown above is an example of write for Level 2 alarm setting( max. 7 digit number : -999999 ~ 9999999 ) of channel number 1.

 

Write example 3)

PORT : 0   STATION : 0   ADDRESS : 0002  EXTRA1 : SV20  EXTRA2 :

The setting parameter shown above is an example of write for input type setting of channel number 2.

 

Write example 4)

PORT : 0   STATION : 0   ADDRESS : 0003  EXTRA1 : SV21  EXTRA2 :

The setting parameter shown above is an example of write for RJ use/don't use setting( 0 ~ 5 ) of channel number 3.

 

Write example 5)

PORT : 0   STATION : 0   ADDRESS : 0004  EXTRA1 : SV22  EXTRA2 : 0

The setting parameter shown above is an example of write for Range low alarm value( max. 6 digit number ) of channel number 4.

 

Write example 6)

PORT : 0   STATION : 0   ADDRESS : 0005  EXTRA1 : SV23  EXTRA2 : 1

The setting parameter shown above is an example of write for Scale hogh alarm value( max. 7 digit number : -999999 ~ 9999999 ) of channel number 5.

 

Write example 7)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV25=V  EXTRA2 :

The setting parameter shown above is an example of write for unit  unit = 'V' ) of channel number 1.

 

Write example 8)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV30  EXTRA2 : 1

The setting parameter shown above is an example of write for Level 2 alarm mode( 0 ~ 6 ) of channel number 1.

 

Write example 9)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV51=Tag100  EXTRA2 :

The setting parameter shown above is an example of write for tag  tag = 'Tag100' ) of channel number 1.

 

Write example 10)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV53  EXTRA2 : 0

The setting parameter shown above is an example of write for Level 1 alarm output relay( 201 ~ 260 ) of channel number 1.

 

Write example 11)

PORT : 0   STATION : 0   ADDRESS : 0001  EXTRA1 : SV54  EXTRA2 : 1

The setting parameter shown above is an example of write for Level 2 alarm output wiring( 0 : OR,  1 : AND ) of channel number 1. 

 

Write example 12)

PORT : 0   STATION : 0   ADDRESS : 0002  EXTRA1 : SV55  EXTRA2 : 1

The setting parameter shown above is an example of write for Level 2 pre alarm basis( 1 ~ 60 ) of channel number 2 

 

Write example 13)

PORT : 0   STATION : 0   ADDRESS : 0003  EXTRA1 : SV55  EXTRA2 : 0

The setting parameter shown above is an example of write for Level 1 sample number of the rate of change alarm( 1 ~ 20 ) of channel number 3. 

 

3. connection of communication cable and main power line, setting of controller ID

  Connection of communication cable and main power line, setting of controller ID are as follows.

 

Connection of communication cable

CHINO SE2000controller can communicate RS-422A and RS-485 mode.

 <Figure 4> is wiring of RS-422A cable and <Figure 5>is wiring of RS-485 cable.

 

SE2000 side                         RS-422 connector of computer side

connector SDA (T+) ------------------------- R+

connector SDB (T-) ------------------------- R-

connector RDA (R+) ------------------------- T+

connector RDB (R-) ------------------------- T-

 <Figure 4> wiring of RS-422A cable for CHINO SE2000

 

 

SE2000 side                                   RS-485 connector of computer side

connector SA (SDA) (+) ------------------------- +

connector SB (SDB) (-) ------------------------- -

 <Figure 5> wiring of RS-485 cable for CHINO SE2000

 

<Figure 6> is a connection example of main power line and RS-422 communication cable to SE2000 controller.

<Figure 8> shows the appearance of  SE2000 controller.  

<Figure 6> Connection example of main power line and RS-422 communication cable to SE2000 controller

 

Setting of RS-422A/485 communication type

CHINO SE2000 controller has 'DIP' switch of RS-422A/485 communication type selection under main power input connector such as <Figure 7>.

When you set 'Up' side the 'DIP' switch, communication mode = RS-485 and 'Down' side, communication mode = RS-422A. 

<Figure 7> 'DIP' switch of Communication type selection

Position

Communication type

Up

RS-485

Down

RS-422A

  <Table 15> Communication type according to 'DIP' switch

Connection of main power line

Please connect main power line to  connector L, N, AC 81 ~ 264V 50/60 HZ (25VA) such as <Figure 6>. 

 

<Figure 8> Appearance of  SE2000 controller

Setting of controller ID

Chino SE2000 controller can set controller ID, 0 ~ 31 by 'DIP 1 ~ 2' switch.

<Table 16> is SE2000 controller ID setting methof by 'DIP 1 ~ 2' switch.

 

 <Figure 9> 'DIP 1 ~ 2' switch of Chino SE2000
<Table 16> SE2000 controller ID setting methof by 'DIP 1 ~ 2' switch